import { ref } from 'vue'
const useCount = () => {
  const count = ref(0)
  const handleAddClick = (num) => {
    count.value += num
  }

  return {
    count,
    handleAddClick
  }
}

export default useCount